package net.gyapp.markim.module.contact.vo;

import net.gyapp.markim.core.entity.MemberEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * Author:  winds
 * Data:    2018/10/10
 * Version: 1.0
 * Desc:
 */


public class TempInviteGroupBean {
    public String groupNumber;
    public List<String> inviteUserNames;

    public TempInviteGroupBean(String groupNumber, List<MemberEntity> list) {
        this.groupNumber = groupNumber;
        inviteUserNames = new ArrayList<>();
        if (list != null && list.size() > 0) {
            for (int i = 0; i < list.size(); i++) {
                MemberEntity entity = list.get(i);
                inviteUserNames.add(entity.memberId);
            }
        }
    }
}
